package org.csu.wuliu.persistence;


import org.csu.wuliu.domain.Supplier;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SupplierMapper {

    Supplier getSupplier(String supplierId);
    List<Supplier> getSupplierList();

    //新增
    void insertSupplier(Supplier supplier);
    //删除
    void deleteSupplier(String supplierId);
    //修改
    void updateSupplier(Supplier supplier);
}
